package cn.blnp.net.flowable.task.service.property;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * <h3></h3>
 *
 * @author <a href="mailto:blnp.yibin@qq.com">lyb</a>
 * @version 1.0
 * @since 2025/5/13 9:46
 */
@Data
public class CalculationBean implements Serializable {

    public double calculationAmount(double unitPrice, int quantity) {
        return unitPrice * quantity;
    }
}
